package com.im.linving.apputils;

import android.app.Application;
import android.content.Context;

/**
 * @Author linyong
 * @Date 2016/10/31
 * @Time 22:41
 */
public class BaseApplication extends Application {
    public static BaseApplication application;
    public static Context context;

    @Override
    public void onCreate() {
        application = this;
        context = getApplicationContext();
        ApplicationUtils.init(this);
        super.onCreate();
    }

    public static BaseApplication getInstance() {
        return application;
    }

    public static Context getContext() {
        return context;
    }
}
